package com.syq.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.syq.pojo.DtsAdmin;

/**
 * @ClassName: DtsAdminService
 * @Description: TODO
 * @Create by: syq
 * @Date: 2022/7/25 14:57
 */


public interface DtsAdminService {
    IPage<DtsAdmin> findPageBy(Integer page, Integer limit, String username, String sort, String order);


    void updateAdmin(DtsAdmin dtsAdmin);

    DtsAdmin findById(Integer id);

    void addAdmin(DtsAdmin dtsAdmin);

    DtsAdmin findByName(String username);

    void delete(Integer id);
}
